import request from '@/utils/request'

// 查询问卷调查的用户填报数据列表
export function listRecordInfo(query) {
  return request({
    url: '/module/survey/record/info/list',
    method: 'get',
    params: query
  })
}

// 查询问卷调查的用户填报数据列表
export function listRecordInfos(query) {
  return request({
    url: '/module/survey/record/info/lists',
    method: 'get',
    params: query
  })
}

// 查询问卷调查的用户填报数据详细
export function getRecordInfo(id) {
  return request({
    url: '/module/survey/record/info/' + id,
    method: 'get'
  })
}

// 新增问卷调查的用户填报数据
export function addRecordInfo(data) {
  return request({
    url: '/module/survey/record/info',
    method: 'post',
    data: data
  })
}

// 修改问卷调查的用户填报数据
export function updateRecordInfo(data) {
  return request({
    url: '/module/survey/record/info',
    method: 'put',
    data: data
  })
}

// 删除问卷调查的用户填报数据
export function delRecordInfo(id) {
  return request({
    url: '/module/survey/record/info/' + id,
    method: 'delete'
  })
}

// 导出问卷调查的用户填报数据
export function exportRecordInfo(query) {
  return request({
    url: '/module/survey/record/info/export',
    method: 'get',
    params: query
  })
}
